<%@ page language="java" import="java.util.*,com.deryun.tyl.bean.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setCharacterEncoding("UTF-8");
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>后台管理首页</title>

    <link href="<%=basePath%>/back_admin/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/nprogress/nprogress.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/iCheck/skins/flat/green.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <link href="<%=basePath%>/back_admin/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/build/css/custom.min.css" rel="stylesheet">
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="#" class="site_title"><i class="fa fa-paw"></i> <span>后台管理系统</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_pic">
                
              </div>
              <div class="profile_info" style="width:100%">
                <span style="width:100%">Welcome, 登陆管理系统</span>
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

			<%@ include file="/WEB-INF/views/layout/left_menu.jsp"%>
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu" style="height:60px;line-height:60px;padding-left:60px;overflow:hidden;">
           		<h1><B>  江  北  区  市  民  服  务  中  心  管  理  平  台</B></h1>
          </div>
        </div>
        <div class="right_col" role="main">        
          <div class="row tile_count">

          </div>
          <div class="x_panel">
          <div class="row">
          	<div class="col-md-12 col-sm-12 col-xs-12">
          		<table class="table table-striped">
          			<thead>
						<tr style="height:60px;color:#000000;">
					    	<th>序号</th>
					      	<th>用户名</th>
					      	<th>账号类型</th>
					      	<th>专业机构认证</th>
					      	<th>银行认证</th>
					      	<th>一键通认证</th>
					      	<th>操作</th>
					    </tr>
					</thead>
					<c:forEach items="${sessionScope.authAccount}" var="p" varStatus="id">
					 	<tr>
							<td>${p.id}</td>
							<td>${p.institutionName}</td>
							<td><c:if test="${p.role == 'A'}">产品/服务供应商</c:if><c:if test="${p.role == 'B'}">社区服务供应商</c:if><c:if test="${p.role == 'C'}">政府机构</c:if> </td>
							<td><c:if test="${p.institutionAuth == 0}">无</c:if><c:if test="${p.institutionAuth == 1}">申请中</c:if><c:if test="${p.institutionAuth == 2}">审批通过</c:if><c:if test="${p.institutionAuth == 3}">审批拒绝</c:if></td>
							<td><c:if test="${p.institutionBankAuth == 0}">无</c:if><c:if test="${p.institutionBankAuth == 1}">申请中</c:if><c:if test="${p.institutionBankAuth == 2}">审批通过</c:if><c:if test="${p.institutionBankAuth == 3}">审批拒绝</c:if></td>
							<td><c:if test="${p.institutionOnekeyAuth == 0}">无</c:if><c:if test="${p.institutionOnekeyAuth == 1}">申请中</c:if><c:if test="${p.institutionOnekeyAuth == 2}">审批通过</c:if><c:if test="${p.institutionOnekeyAuth == 3}">审批拒绝</c:if></td>
							<td><a href="<%=basePath%>/user/getAccount?id=${p.id}">详情</a></td>
						</tr>
					</c:forEach>
				</table>
          	</div>
          	</div>
          </div>
        </div>
        <footer>
        </footer>
      </div>
    </div>

    <!-- jQuery -->
    <script src="<%=basePath%>/back_admin/vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="<%=basePath%>/back_admin/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="<%=basePath%>/back_admin/vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="<%=basePath%>/back_admin/vendors/nprogress/nprogress.js"></script>
    <!-- Chart.js -->
    <script src="<%=basePath%>/back_admin/vendors/Chart.js/dist/Chart.min.js"></script>
    <!-- gauge.js -->
    <script src="<%=basePath%>/back_admin/vendors/gauge.js/dist/gauge.min.js"></script>
    <!-- bootstrap-progressbar -->
    <script src="<%=basePath%>/back_admin/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
    <!-- iCheck -->
    <script src="<%=basePath%>/back_admin/vendors/iCheck/icheck.min.js"></script>
    <!-- Skycons -->
    <script src="<%=basePath%>/back_admin/vendors/skycons/skycons.js"></script>
    <!-- Flot -->
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.pie.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.time.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.stack.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.resize.js"></script>
    <!-- Flot plugins -->
    <script src="<%=basePath%>/back_admin/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/flot.curvedlines/curvedLines.js"></script>
    <!-- DateJS -->
    <script src="<%=basePath%>/back_admin/vendors/DateJS/build/date.js"></script>
    <!-- JQVMap -->
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/dist/jquery.vmap.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="<%=basePath%>/back_admin/vendors/moment/min/moment.min.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="<%=basePath%>/back_admin/build/js/custom.min.js"></script>
  </body>
</html>